package com.hst.capacity.domain.model.entity.order.base;

import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 订单结果记录表基类
 */
@Data
@MappedSuperclass
public class BaseResultEntity extends BaseEntity {

    private String idOrder;//订单ID
    private Integer idServiceType;//服务类型ID
    private Integer idVehicleType;//车辆类型ID
    private String idServicePriceSetting;//定价ID
    private String priceSettingMemo;//定价详细内容描述
    private Float orderBasePrice;//订单初始价格
    private Float orderPerKilometres;//订单每公里价格
    private Float orderPerTime;//订单每时间单位价格
    private Float orderDistance;//订单行程公里数
    private Float orderReferenceDistance;//订单行程试算公里数
    private Integer orderSpendTime;//订单花费时间（分钟）
    private Integer orderWaitingTime;//订单等待时间（分钟）
    private Float waitmile;//空驶里程
    private Float overMileMoney;//超里程费用
    private Float overTimeMoney;//超时间费用
    private Float baseTotalMoney;//订单结算价格
    private String memo;//备注
}
